You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			475 B
		
	
	
	
		
			C#
		
	
			
		
		
	
	
			18 lines
		
	
	
		
			475 B
		
	
	
	
		
			C#
		
	
| namespace Game
 | |
| {
 | |
|     public class ManagerBase<T> : Singleton<T> where T : new()
 | |
|     {
 | |
|         public ManagerBase()
 | |
|         {
 | |
|             this.OnInit();
 | |
|             this.OnCreate();
 | |
|         }
 | |
|         public virtual void OnInit() { }
 | |
|         public virtual void OnCreate() { }
 | |
|         public virtual void Update() { }
 | |
|         public virtual void FixedUpdate() { }
 | |
|         public virtual void LateUpdate(){ }
 | |
|         public virtual void OnDestroy() { }
 | |
| 
 | |
|     }
 | |
| } |