-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathServerAuthAnimal.cs
49 lines (42 loc) · 1.16 KB
/
ServerAuthAnimal.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using MalbersAnimations.Controller;
using System;
using System.Collections;
using System.Collections.Generic;
using Unity.Netcode;
using UnityEditor;
using UnityEngine;
namespace MalbersAnimations.NetCode
{
public class ServerAuthAnimal : MAnimal
{
public void Set_State(int stateID)
{
activeState = State_Get(stateID);
}
//These simply don't work
//public override void Mode_Activate(ModeID ModeID)
//{
// Debug.Log("modeActivate0");
// base.Mode_Activate(ModeID);
//}
//public new bool Mode_TryActivate(int ModeID, int AbilityIndex)
//{
// Debug.Log("modeTryactivate");
// return base.Mode_TryActivate(ModeID, AbilityIndex);
//}
// private NetworkAnimal GetNetworkAnimal()
// {
// if (_networkAnimal == null)
// {
// _networkAnimal = GetComponent<NetworkAnimal>();
// }
// return _networkAnimal;
// }
}
#if UNITY_EDITOR
[CustomEditor(typeof(ServerAuthAnimal))]
public class ServerAuthAnimalEditor : MAnimalEditor
{
}
#endif
}