示例#1
0
 public void OnEnable()
 {
     base.hideFlags = HideFlags.None;
     if (ReceipeDatabase._instance == null)
     {
         ReceipeDatabase._instance = this;
     }
     else
     {
         Debug.LogError("Multiple Receipe Database");
     }
 }
示例#2
0
 public void OnEnable()
 {
     base.hideFlags = HideFlags.None;
     if (ReceipeDatabase._instance == null)
     {
         ReceipeDatabase._instance = this;
     }
     else
     {
         Debug.LogError("Multiple Receipe Database");
     }
 }