Ejemplo n.º 1
0
        void Awake()
        {
            TargetImageApplied = false;

            if(placeholderText == null)
            {
                Debug.Log("PlaceholderText not found: Find(\"/Message/PlaceholderText\")");
            }

            _api = GetComponent<StomtAPI>();
            _screenshot = new Texture2D(Screen.width, Screen.height, TextureFormat.RGB24, false);

            Reset();
            StartCoroutine(this.refreshTargetIcon(AutoImageDownloadDelay));
        }
Ejemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        StomtAPI api = GameObject.Find("StomtPopup").GetComponent <StomtAPI>();

        api.AddCustomKeyValuePair("CustomKey", "Value/Data");
    }
Ejemplo n.º 3
0
 void Awake()
 {
     _API = GetComponent<StomtAPI>();
 }
    // Use this for initialization
    void Start()
    {
        StomtAPI = GameObject.Find("StomtPopup").GetComponent <StomtAPI>();

        StomtAPI.Labels = new string[] { "label1", "label2" };
    }