Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public static class MyClass
- {
- static MyClass()
- {
- Debug.Log("Not called until just before MyFunc is called");
- }
- public static void MyFunc()
- {
- Debug.Log("MyFunc");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement