Last active
November 28, 2018 02:33
-
-
Save insthync/570a2333d07053657cc363a34770351d to your computer and use it in GitHub Desktop.
Dev Extension Sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using LiteNetLibManager; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace MultiplayerARPG | |
{ | |
public partial class PlayerCharacterEntity | |
{ | |
[DevExtMethods("Start")] | |
protected void DevExtStartDemo() | |
{ | |
Debug.Log("Just add functionality to start function to PlayerCharacterEntity when game object start"); | |
} | |
[DevExtMethods("OnNetworkDestroy")] | |
protected void DevExtOnNetworkDestroyDemo(DestroyObjectReasons reasons) | |
{ | |
Debug.Log("Just add functionality to start function to PlayerCharacterEntity when network destroy"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment