/// --------------------------------------------- /// Ultimate Character Controller /// Copyright (c) Opsive. All Rights Reserved. /// https://www.opsive.com /// --------------------------------------------- namespace Opsive.UltimateCharacterController.Networking.Objects { using Opsive.UltimateCharacterController.Items.Actions; using UnityEngine; /// /// Defines a magic object that can is spawned over the network. /// public interface INetworkMagicObject { /// /// Sets the spawn data. /// /// The character that is instantiating the object. /// The MagicItem that the object belongs to. /// The index of the action that is instantiating the object. /// The ID of the cast that is instantiating the object. void Instantiate(GameObject character, MagicItem magicItem, int actionIndex, uint castID); } }