コード例 #1
0
ファイル: InGameHUD.cs プロジェクト: ozgurtt/Blockara
    private void SetupTutorial(Vector3 offset)
    {
        Vector3 tootroielposietion = new Vector3(2.4f, 0.15f);

        tootoriel_candyslaws = GetGameObject(tootroielposietion, "Tutorial Box", Resources.Load <Sprite>(SpritePaths.TutorialBox), false, "HUD");
        TextMesh   t = GetMeshText(tootroielposietion + new Vector3(0.0f, -0.1f), "", new FontData(TextAnchor.UpperCenter, TextAlignment.Center, 0.025f));
        GameObject g = new GameObject("tutorialHandler");

        tutorialAssist = g.AddComponent <TutorialHelper>();
        tutorialAssist.Init(t, tootoriel_candyslaws);
    }