using System;
using System.Collections.Generic;
using UnityEngine;
namespace coa4u
{
///
/// Instantly shows the hidden target. This action does not require the transparency support in shaders.
///
class ActionShow : ActionInstant
{
public ActionShow()
: base()
{
}
///
/// Returns a copy of the action.
///
public override ActionInstant clone()
{
return new ActionShow();
}
///
/// Returns the reversed version of the action, if it is possible.
///
public override ActionInstant reverse()
{
return new ActionHide();
}
///
/// This method is called at the action start.
///
public override void start()
{
base.start();
renderer.enabled = true;
}
}
}