示例#1
0
文件: tripChat.cs 项目: iRandz/AAU-P6
 // Start is called before the first frame update
 void Start()
 {
     talked            = false;
     timing            = Time.time;
     delay             = 3;
     range             = 5f;
     _animationManager = gameObject.GetComponent <HymerAnimationManager>();
     Debug.Log(gameObject);
 }
示例#2
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         Destroy(gameObject);
         return;
     }
 }