mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-25 19:04:43 +00:00
18 lines
335 B
C#
18 lines
335 B
C#
|
using System;
|
|||
|
using GAS.Runtime;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
namespace Demo.Scripts
|
|||
|
{
|
|||
|
public class Main : MonoBehaviour
|
|||
|
{
|
|||
|
|
|||
|
public AbilitySystemComponent player;
|
|||
|
|
|||
|
private void Start()
|
|||
|
{
|
|||
|
player.InitWithPreset(1);
|
|||
|
player.TryActivateAbility(GAbilityLib.JisolDemo1.Name);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|