22 lines
482 B
C#
22 lines
482 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using DefaultNamespace.ProcessMode;
|
|
using DG.Tweening;
|
|
using MotionFramework;
|
|
using UnityEngine;
|
|
|
|
public class test1 : MonoBehaviour
|
|
{
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
MotionEngine.GetModule<ToolsPackManager>().OnStringEvent += HandleStringEvent;
|
|
}
|
|
|
|
private void HandleStringEvent(string message)
|
|
{
|
|
Debug.Log("Received message: " + message);
|
|
}
|
|
}
|