playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hamid389

Pages: [1]
1
PlayMaker Help / Re: new line into UGui Text Set Text (again?) [SOLVED]
« on: September 17, 2019, 04:32:03 AM »
hi
finally i found a good way to use newline in playmaker arrays !

1-use this script

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Dialogues : MonoBehaviour
{
   [Header("TextArea")]
   [Space(10)]
   [TextArea]
   public string [] TextArea = new string[1];
}


2-attach it to a game obj and write ur dialogues then drag n drop it to playmaker fsm and use get property/Text area/string[]   and it will give u an arraylist of ur texts that u wrote.

3-u can also use array get next action or typewriter to make ur dialogue system

4-enjoy !!

Pages: [1]