public void Awake() { Debug.Log("Initializing Demo"); // our logger HtEngine.RegisterLogger(new Unity3DLogger()); // our device HtEngine.RegisterDevice(new NGUIDevice()); // link hover color. HtEngine.LinkHoverColor = HtColor.Parse("#FF4444"); // link pressed factor. HtEngine.LinkPressedFactor = 0.5f; // link function name. HtEngine.LinkFunctionName = "onLinkClicked"; html = GetComponent <NGUIHTML>(); html.html = demo0; }
public void Awake() { html = GetComponent <NGUIHTML>(); html.html = demo0; }