MCPcopy Create free account
hub / github.com/TanTanDev/runity / RustyGameObject

Method RustyGameObject

unity/Runity/RustyGameObject.cs:9–12  ·  view source on GitHub ↗
(UnityEngine.GameObject a_gameObject)

Source from the content-addressed store, hash-verified

7 public Dictionary<int, UnityEngine.Component> HashedComponents;
8
9 public RustyGameObject(UnityEngine.GameObject a_gameObject) {
10 GameObject = a_gameObject;
11 HashedComponents = new Dictionary<int, UnityEngine.Component>();
12 }
13
14 public T GetComponentFromId<T>(int a_componentId)
15 where T: UnityEngine.Component

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected