Boogman
New member
Is this how you change the text the player sees when he looks at a block.
I tried it but got an error: Format Exception: Input string not in a correct format.
I tried it but got an error: Format Exception: Input string not in a correct format.
Code:
using System;
using UnityEngine;
public class BlockmyElevator : Block
{
public override string GetActivationText(WorldBase _world, BlockValue _blockValue, int _clrIdx, Vector3i _blockPos,
EntityAlive _entityFocusing)
{
return "Press <{E}> to operate the Elevator";
}
}