예제 #1
0
        public override void OnStart()
        {
            self = AbstractPerson.GetInstance(gameObject);
            SkillInfoAsset.Vector3Cache = GlobalVar.G_Player.Pos;
//			Debug.Log($"写入用户数据:【{SkillInfoAsset.skillName.StringValue}】" + SkillInfoAsset.Vector3Cache);
            self.RunSkill(SkillInfoAsset);
            timer = 0;
            gameObject.GetComponent <Actor>()._velocity = Vector3.zero;
        }