Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        if (GetComponent <Camera>() == null)
        {
            Debug.LogError("GLDrawLine需要挂在Camera对象上");
        }
        instance = this;

        isCanDraw = true;
    }
Exemplo n.º 2
0
 void Awake()
 {
     _instance = this;
 }