Last active
August 29, 2015 14:04
-
-
Save crappygraphix/5868374b50a0e60b19fe to your computer and use it in GitHub Desktop.
Main() function in Unity3d C# Script
This file contains 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 UnityEngine; | |
using System.Collections; | |
public class SillyTest : MonoBehaviour { | |
void Main(){ | |
Debug.Log("Main: Interesting"); | |
} | |
void OnEnable(){ | |
Debug.Log("OnEnable: I see."); | |
} | |
void Awake(){ | |
Debug.Log("Awake: Okay"); | |
} | |
void Start () { | |
Debug.Log("Start: Hrm..."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment