コード例 #1
0
ファイル: Slam.cs プロジェクト: JakeBur/Faunarena-Snippets
    private float cooldownReleaseTime;       // The time when we can slam again.

    new void Start()
    {
        base.Start();
        visualManager = GetComponent <BearVisualManager>();
        if (useAnimationForLength)
        {
            length = animationClip.length;
        }
    }
コード例 #2
0
ファイル: Armor.cs プロジェクト: JakeBur/Faunarena-Snippets
    private BearVisualManager visualManager;// The instance of BearVisualManager attached to the player character.

    new void Start()
    {
        base.Start();
        visualManager = GetComponent <BearVisualManager>();
    }
コード例 #3
0
    private BearVisualManager visualManager; // The BearVisualManager atatched to the player character.

    void Start()
    {
        slam          = GetComponentInParent <Slam>();
        visualManager = GetComponentInParent <BearVisualManager>();
    }