Пример #1
0
    void Start()
    {
        GameObject minion = SC_Helper.FindParentWithTag(gameObject, "Enemy");

        minion.GetComponent <SC_RandomMovement> ().ChangeMoveSpeedWithDuration(slowMoveSpeed, slowMoveDuration);
    }
    void Start()
    {
        GameObject minion = SC_Helper.FindParentWithTag(gameObject, "Ally");

        minion.GetComponent <SC_RandomMovement> ().ChangeMoveSpeedWithDuration(buffMoveSpeed, buffMoveSpeedDuration);
    }
Пример #3
0
    void Start()
    {
        GameObject minion = SC_Helper.FindParentWithTag(gameObject, "Enemy");

        minion.GetComponent <SC_RandomMovement> ().PauseMovementWithDuration(stunDuration);
    }