本文へスキップ
Testing

पहला प्ले टेस्ट कैसे चलाएं

छोटे प्रोटोटाइप को परीक्षण करने, खिलाड़ी अवलोकन लेने और प्रतिक्रिया को अगले बदलावों में बदलने की शुरुआती गाइड।

公開日: 2026-06-22#प्लेटेस्ट#प्रोटोटाइप#प्रतिक्रिया#शुरुआती

Quick Start

Chhote working version se shuru karein

पहला प्लेटेस्ट game को परखने से ज्यादा, खिलाड़ी की समझ को देखने का मौका है। developer अक्सर controls, लक्ष्य और difficulty को अपने हिसाब से स्वाभाविक मान लेता है। लेकिन नया खिलाड़ी वही देखता है जो screen उसे बताती है। इसलिए प्लेटेस्ट का उद्देश्य राय इकट्ठा करना नहीं, अवलोकन से कार्रवाई योग्य सुधार निकालना है।

Chhote code parts jodiye

1. 値を用意する

Inspectorで変更できる値と表示先を置きます。

FirstPlaytestTutorial.cs
csharp
    [SerializeField] private TextMeshProUGUI statusText;
    [SerializeField] private float testerCount = 1f;
    [SerializeField] private float stuckCount = 2f;
    [SerializeField] private float fixPriority = 3f;

2. 状態を変える

ボタンを押した時に、1つだけ状態を進めます。

FirstPlaytestTutorial.cs
csharp
    public void NextStep()
    {
        step = (step + 1) % 3;
        var label = step == 0 ? "遊ぶ前の確認" : step == 1 ? "観察メモ" : "改善点を選ぶ";
        if (statusText != null)
        {
            statusText.text = $"{label}\ntesterCount={testerCount:0.##}\nstuckCount={stuckCount:0.##}\nfixPriority={fixPriority:0.##}";
        }

3. 画面に表示する

変わった結果を画面に出して確認します。

FirstPlaytestTutorial.cs
csharp
        if (statusText != null)
        {
            statusText.text = $"{label}\ntesterCount={testerCount:0.##}\nstuckCount={stuckCount:0.##}\nfixPriority={fixPriority:0.##}";
        }
        Debug.Log($"初めてのプレイテスト: {label}");

Complete script

FirstPlaytestTutorial.cs
csharp
using UnityEngine;
using TMPro;

public class FirstPlaytestTutorial : MonoBehaviour
{
    [SerializeField] private TextMeshProUGUI statusText;
    [SerializeField] private float testerCount = 1f;
    [SerializeField] private float stuckCount = 2f;
    [SerializeField] private float fixPriority = 3f;

    private int step;

    public void NextStep()
    {
        step = (step + 1) % 3;
        var label = step == 0 ? "遊ぶ前の確認" : step == 1 ? "観察メモ" : "改善点を選ぶ";
        if (statusText != null)
        {
            statusText.text = $"{label}\ntesterCount={testerCount:0.##}\nstuckCount={stuckCount:0.##}\nfixPriority={fixPriority:0.##}";
        }
        Debug.Log($"初めてのプレイテスト: {label}");
    }
}

Inspector

Inspector mein UI reference connect karke button se har change check kijiye.

सारांश

क्या याद रखना है

छोटे प्रोटोटाइप को परीक्षण करने, खिलाड़ी अवलोकन लेने और प्रतिक्रिया को अगले बदलावों में बदलने की शुरुआती गाइड।

आगे क्या पढ़ें