A.GetComponent<T>() B.GetComponent() C.AddComponent() D.AddComponent<T>()
A.GetInstanceID B.DontDestroyOnLoad C.Instantiate D.ToString
A.get屬性訪問(wèn)器用于返回屬性值 B.set屬性訪問(wèn)器用于分配新值 C.既有g(shù)et訪問(wèn)器又有set訪問(wèn)器的屬性支持讀寫(xiě) D.屬性可以作為ref或out參數(shù)傳遞