示例#1
0
    public override void Run(List <AbilityTarget> targets)
    {
        Debug.Log("Running behaviour");
        foreach (AbilityTarget target in targets)
        {
            PlayerCharacterController character = target.abilityTarget.GetComponent <PlayerCharacterController>();

            character.AddVelocity(Random.onUnitSphere * 20f);
        }
    }