コード例 #1
0
ファイル: HTHHitter.cs プロジェクト: kostya05/TPS-Proto-Unity
    public void Luke_I_am_your_father(WeaponOfExtremities Darth_Vader,Pawn  owner1)
    {
        WeaponControl=Darth_Vader;
        owner = owner1;

        StartCoroutine(GetAnim());
    }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     base.Start();
     naturalWeapon = GetComponent<WeaponOfExtremities>();
     Anim = transform.GetComponentInChildren<Animator>(); // Привязка аниматора
     animator = transform.GetComponentInChildren<DogAnimationManager>();
 }